package org.blogwu.sso.service.loginService;


import org.blogwu.sso.bean.daobean.BlogWuUser;
import org.blogwu.sso.dao.userDao.UserDao;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

public class LoginService {
	 
	@Autowired
	private UserDao userDao;
	
	@Test
	public void insert(){
		BlogWuUser blog=new BlogWuUser();
		blog.setEmail("1109766700@qq.com");
		blog.setName("胡大雕");
		blog.setUsername("admin");
		blog.setPassword("123456");
		userDao.save(blog);
		
	}
	
}
